<form action="<?php echo $this->action; ?>" method="post" OnSubmit="return checkdados(this)">
<input type="hidden" name="idFisica" id="idFisica" value="<?php echo $this->fisica->id_fisica;?>"/>
<table border="0" align="center">
  <tr>
    <td>CPF:</td>
    <td><input type="text" name="dsCpf" id="dsCpf" onkeypress="return formata_keypress(this, '999.999.999-99', (event ? event : Event))" value="<?php echo $this->fisica->ds_cpf;?>"/></td>
    <td colspan="2" align="right">RG: <input type="text" name="dsRg" id="dsRg" value="<?php echo $this->fisica->ds_rg;?>" /></td>
    <td colspan="6">&nbsp;</td>
  </tr>
  <tr>
    <td>Nome:</td>
    <td colspan="3"><input name="dsNome" type="text" id="dsNome" size="60" value="<?php echo $this->fisica->ds_nome;?>"/><?php echo UtilController::campoObrigatorio()?></td>
    <td colspan="6">&nbsp;</td>
 </tr>
    <tr>
    <td>Sexo:</td>
    <td><select name="idSexo" id="idSexo">
    <?php echo UtilController::getOptionSexo($this->fisica->id_sexo, 0);?>
    </select><?php echo UtilController::campoObrigatorio()?></td>
    <td align="right" colspan="2">Estado Civil: <select name="idCivil" id="idCivil">
    <?php echo UtilController::getOptionCivil($this->fisica->id_civil, 0);?>
    </select><?php echo UtilController::campoObrigatorio()?></td>
  	<td colspan="6">&nbsp;</td>
  	</tr>
  <tr>
    <td>E-mail:</td>
    <td colspan="3"><input name="dsEmail" type="text" id="dsEmail" size="60" value="<?php echo $this->fisica->ds_email;?>" /><?php echo UtilController::campoObrigatorio()?></td>
    <td colspan="6">&nbsp;</td>
 </tr>
  <tr>
    <td>Celular:</td>
    <td><input type="text" name="nrCelular" id="nrCelular" onkeypress="return formata_keypress(this, '(99)99999-9999', (event ? event : Event))" value="<?php echo $this->fisica->nr_celular;?>" /></td>
    <td align="right" colspan="2">Telefone: <input type="text" name="nrTelefone" id="nrTelefone" onkeypress="return formata_keypress(this, '(99)99999-9999', (event ? event : Event))" value="<?php echo $this->fisica->nr_telefone;?>"/></td>
    <td colspan="6">&nbsp;</td>
 </tr>
  <tr>
    <td>Nome Credencial</td>
    <td colspan="3"><input name="dsCredencial" type="text" id="dsCredencial" size="60" value="<?php echo $this->fisica->ds_nome_credencial;?>" /><?php echo UtilController::campoObrigatorio()?></td>
    <td colspan="6">&nbsp;</td>
    </tr>
 </table>
 <table>
  <tr>
    <td>Empresa:</td>
    <td colspan="10"><select name="idJuridica" type="text" id="idJuridica">
    <?php echo UtilController::getOptionJuridica($this->fisica->id_juridica, 0);?>
   </select><?php echo UtilController::campoObrigatorio()?></td>
  </tr>
   <tr>
    <td colspan="10" align="right"><input type="submit" name="save" id="save" value="<?php echo $this->buttonText; ?>" />
     </td>
    </tr>
</table>
</form>